package com.renwei.yunlong.bean;

import org.litepal.annotation.Column;
import org.litepal.crud.DataSupport;

/**
 * Project :  yunna.
 * Package name: com.renwei.yunlong.bean
 * Created by :  Benjamin.
 * Created time: 2018/3/13 15:24
 * Changed by :  Benjamin.
 * Changed time: 2018/3/13 15:24
 * Class description:
 */

public class ServerInfo extends DataSupport {

    private String serverName;
    private String type;
    private String address;
    private String port;
    @Column(nullable = false, defaultValue = "0")  //0 代表可以编辑，1代表不可以编辑
    private String editable;
    @Column(nullable = false, defaultValue = "0")  //0 代表未选中，1代表当前选中
    private String current;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getEditable() {
        return editable;
    }

    public void setEditable(String editable) {
        this.editable = editable;
    }

    public String getCurrent() {
        return current;
    }

    public void setCurrent(String current) {
        this.current = current;
    }

}
